package com.gitee.chippyer.logger.repository.ability.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 追踪数据
 *
 * @author: chippy
 */
@Data
@TableName("`trace_entry`")
public class TraceEntry {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String parentAppName;

    private String appName;

    @TableField("`t_id`")
    private String tId;

    private Long cost;

    /**
     * 创建时间
     */
    private Timestamp createTime;

}
